*{ You can use plain selenium command using the selenium tag }*
//Prepare tests sample
%{
	DataBaseInit.initTestDataBase()
}%

#{selenium}
    // Open the home page, and check that no error occured
    open('/login')
    waitForPageToLoad(1000)
    assertNotTitle('Application error')
	assertTitle('Login')
	type('username','pgalvao')
	type('password','pgalvao')
	clickAndWait('signin')
	assertTitle('Collaborator Profile')
	click('display_identity_panel')
	assertText('firstname_display', 'GALVAO')
	assertText('name_display', 'Pauline')
	assertText('address_display', '33 Avenue du Maine')
	assertText('zip_display', '33000')
	assertText('city_display', 'Bordeaux')
	assertText('phone_display', '0102030405')
	assertText('email_display', 'pgalvao@enseirb.fr')
	assertText('nationalities_display', 'portugaise francaise')
	assertText('birthday_display', '08/03/2012')
	assertText('hometown_display', 'Bordeaux')
	assertText('status_display', 'NC')
	assertText('credential_display', 'CD')
	assertText('function_display', 'Consultante Senior')
	assertText('duration_display', '2')
	assertText('hiring_display', '06/03/2012')
#{/selenium}